From f3fe1812aa932b22ec2ddfaaa0c09a40078d4d31 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 19 Oct 2020 09:37:20 -0400 Subject: [PATCH] Adwaita: Put column separators on the left When resizing columns, we clip a shrunk column on the right, so the separator disappears in that case unless we put it on the left side of the other column. --- gtk/theme/Adwaita/_common.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 212ee4ae07..59d57f9259 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1772,7 +1772,7 @@ treeview.view { %column_header_button { padding: 0 6px; background-image: none; - border-style: none solid solid none; + border-style: none none solid solid; border-color: $_treeview_borders_color; border-radius: 0; text-shadow: none; @@ -3141,15 +3141,15 @@ columnview { > cell { padding: 8px 6px; - &:not(:last-child) { - border-right: 1px solid transparent; + &:not(:first-child) { + border-left: 1px solid transparent; } } } // make column separators visible when :show-column-separators is true &.column-separators > listview > row > cell { - border-right-color: $_treeview_borders_color; + border-left-color: $_treeview_borders_color; } // shrink vertically for .data-table -- 2.30.2